home *** CD-ROM | disk | FTP | other *** search
/ Columbia Kermit / kermit.zip / newsgroups / misc.19960425-19960715 / 000415_news@columbia.edu _Fri Jul 12 12:23:06 1996.msg < prev    next >
Internet Message Format  |  2020-01-01  |  2KB

  1. Return-Path: news@columbia.edu
  2. Received: from apakabar.cc.columbia.edu (newsmaster.cc.columbia.edu [128.59.35.30]) by watsun.cc.columbia.edu (8.7.5/8.7.3) with ESMTP id MAA04733 for <kermit.misc@watsun.cc.columbia.edu>; Fri, 12 Jul 1996 12:23:06 -0400 (EDT)
  3. Received: (from news@localhost) by apakabar.cc.columbia.edu (8.7.5/8.7.3) id MAA09544 for kermit.misc@watsun; Fri, 12 Jul 1996 12:23:04 -0400 (EDT)
  4. Path: news.columbia.edu!lamont.ldeo.columbia.edu!zombie.ncsc.mil!news.mathworks.com!newsfeed.internetmci.com!swrinde!cs.utexas.edu!bcm.tmc.edu!news.msfc.nasa.gov!info.uah.edu!email!gossettf
  5. From: gossettf@email.uah.edu (Frank A. Gossett)
  6. Newsgroups: comp.protocols.kermit.misc
  7. Subject: OUTPUT stmt not functioning after  telnet (in script)
  8. Date: 12 Jul 1996 15:28:02 GMT
  9. Organization: The University of Alabama in Huntsville
  10. Lines: 30
  11. Message-ID: <4s5qu2$brn@info.uah.edu>
  12. NNTP-Posting-Host: email.uah.edu
  13. X-Newsreader: TIN [version 1.2 PL2]
  14.  
  15. Hello,
  16.  
  17. The following code creates a hang after the telnet execution.
  18.  
  19. ;
  20. telnet \m(server_ip)\13
  21. input 60 Password:
  22. output \m(passwd_login)\13
  23. input 60 >
  24. output enable\13
  25. input 60 Password:
  26. output \m(passwd_enable)\13
  27. input 60 #
  28. ;
  29.  
  30. A connection is made to the remote host and a password prompt is received.
  31. However, the input statement times out.  I had an askq statement after
  32. the telnet statement in an earlier code version and when terminate the
  33. remote session mannually the script would then execute the askq statement
  34. (indicating that the output statement after the telnet was never
  35. executed?).
  36.  
  37. Does the output statement work correctly with a network connection?
  38.  
  39. Any help would be most appreciated.
  40.  
  41. Regards,
  42.  
  43. Frank Gossett
  44. gossettf@email.uah.edu